package com.zbkj.common.model.brand;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author RW
 * @date 2024/10/16 15:02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_brand")
@ApiModel(value = "Brand对象", description = "品牌商表")
public class Brand implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "品牌商ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "品牌商名称")
    private String name;

    @ApiModelProperty(value = "品牌商简介")
    private String brandDesc;

    @ApiModelProperty(value = "品牌商关键字")
    private String keywords;

    @ApiModelProperty(value = "品牌商姓名")
    private String realName;

    @ApiModelProperty(value = "品牌商手机号")
    private String phone;

    @ApiModelProperty(value = "品牌商图片")
    private String picUrl;

    @ApiModelProperty(value = "排序")
    private Integer sortOrder;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "关联管理员ID")
    private Integer createId;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "推广链接")
    private String shareUrl;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDel;

    @ApiModelProperty(value = "公司名称")
    private String commpany;

    @ApiModelProperty(value = "是否自动更新商品")
    private Boolean autoUpdateGood;

    @ApiModelProperty(value = "店铺链接")
    private String shopUrl;

    @ApiModelProperty(value = "默认分类ID")
    private Integer defaultCategoryId;

    @ApiModelProperty(value = "默认页数")
    private Integer defaultPages;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "地址详情")
    private String addressDetail;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "是否自营")
    private Boolean isSelf;
    @ApiModelProperty(value = "品牌商logo")
    private String  brandLog;

    @ApiModelProperty(value = "手续费(%)")
    private Integer handlingFee;

    @ApiModelProperty(value = "品牌商开关:0-关闭，1-开启")
    private Boolean isSwitch;

    @ApiModelProperty(value = "品牌商审核开关:0-关闭，1-开启")
    private Boolean productSwitch;

    @ApiModelProperty(value = "品牌商创建类型：admin-管理员创建，apply-品牌商入驻申请")
    private String createType;

    @ApiModelProperty(value = "省Id")
    private String provinceId;

    @ApiModelProperty(value = "省名称")
    private String provinceName;

    @ApiModelProperty(value = "市id")
    private String cityId;

    @ApiModelProperty(value = "市名称")
    private String cityName;

    @ApiModelProperty(value = "区/县id")
    private String districtId;

    @ApiModelProperty(value = "区/县名称")
    private String districtName;

    @ApiModelProperty(value = "镇/街道id")
    private String townId;

    @ApiModelProperty(value = "镇/街道名称")
    private String townName;

    @ApiModelProperty("村id")
    private String villageId;

    @ApiModelProperty(value = "村名称")
    private String villageName;
}
